package yhao.infra.feature.solr.local.core.stats;

import java.util.HashSet;
import java.util.Set;

/**
 * @author yoara
 * <p> Created on 2020/4/15 </p>
 */
public class StatsQueryParam {
    private String filed;
    private Set<String> facets = new HashSet<>();
    private Boolean calcDistinct;

    public StatsQueryParam(String filed) {
        this.filed = filed;
    }

    public String getFiled() {
        return filed;
    }

    public Set<String> getFacets() {
        return facets;
    }

    public void setFacets(Set<String> facets) {
        this.facets = facets;
    }

    public Boolean getCalcDistinct() {
        return calcDistinct;
    }

    public void setCalcDistinct(Boolean calcDistinct) {
        this.calcDistinct = calcDistinct;
    }
}
